give meaningful error message if qemu device model is unavailable
authorMichael Tokarev <mjt@tls.msk.ru>
Sun, 24 Apr 2022 09:26:38 +0000 (12:26 +0300)
committerHans van Kranenburg <hans@knorrie.org>
Fri, 24 Feb 2023 17:28:10 +0000 (18:28 +0100)
commitc237d284e25464a7fd4d41ba39d31565af75c487
tree8e70f2748e6ca88549ceb07d1607e9727fa0aa91
parent4c847ec278b4c50ae813f0cf8af51bdba0397627
give meaningful error message if qemu device model is unavailable

There's no sense to switch to qemu-xen-traditional device model
if that one is not enabled in the first place. This way we'll
have a chance later to print a message suggesting to install the
missing qemu package if we *actually* need qemu for the device model.
tools/libs/light/libxl_create.c
tools/libs/light/libxl_dm.c